﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace CoreCms.Net.Model.ViewModels.DTO
{
    public partial class ProductsDto
    {

        /// <summary>
        /// 产品表
        /// </summary>
      
        /// <summary>
        ///   商品ID
    
        public int id { get; set; }

        /// <summary>
        ///  产品编号
        /// </summary>
       
        public string bn { get; set; }

        /// <summary>
        ///     商品名称
        /// </summary>
       
        public string name { get; set; }

        /// <summary>
        ///     商品简介
        /// </summary>
       
        public string brief { get; set; }

        /// <summary>
        ///     缩略图
        /// </summary>
      
        public string image { get; set; }

        /// <summary>
        ///     图集
        /// </summary>
     
        public string images { get; set; }


        /// <summary>
        ///     佣金分配方式
        /// </summary>
    
        public int productsDistributionType { get; set; }

        /// <summary>
        ///     商品分类
        /// </summary>
      
        public int goodsCategoryId { get; set; }

        /// <summary>
        ///     商品类别
        /// </summary>
       
        public int goodsTypeId { get; set; }

        /// <summary>
        ///    产品额度
        /// </summary>
     
        public  string money { get; set; }

        /// <summary>
        ///    产品利率
        /// </summary>
        /// 
        public string rate { get; set; }
        /// <summary>
        ///    产品地区
        /// </summary>
     
        public string area { get; set; }

        /// <summary>
        ///     是否上架
        /// </summary>

        public bool isMarketable { get; set; }


        /// <summary>
        ///     商品详情
        /// </summary>
      
        public string intro { get; set; }

        /// <summary>
        ///     商品规格序列号存储
        /// </summary>
        public string spesDesc { get; set; }

        /// <summary>
        ///     评论次数
        /// </summary>
       
        public int commentsCount { get; set; }

        /// <summary>
        ///     浏览次数
        /// </summary>
      
        public int viewCount { get; set; }

        /// <summary>
        ///     购买次数
        /// </summary>
     
        public int buyCount { get; set; }


        /// <summary>
        ///     产品排序
        /// </summary>
      
        public int sort { get; set; }

        /// <summary>
        ///     标签id逗号分隔
        /// </summary>
      
        public string labelIds { get; set; }

        /// <summary>
        ///     自定义规格名称
        /// </summary>
    
        public string newSpec { get; set; }

        /// <summary>
        ///     创建时间
        /// </summary>
     
        public DateTime? createTime { get; set; }

        /// <summary>
        ///     更新时间
        /// </summary>
    
        public DateTime? updateTime { get; set; }

        /// <summary>
        ///     是否推荐
        /// </summary>

        public bool isRecommend { get; set; }

        /// <summary>
        ///     是否热门
        /// </summary>
       
        public bool isHot { get; set; }

        /// <summary>
        ///     是否删除
        /// </summary>
   
        public bool isDel { get; set; }
    }
}
